<?php
/*
    |====================================================|
	|  CentPHP                                           |
	|----------------------------------------------------|
	| This a PHP framework writen by a PHP programmer.   |
	| Its purpose is for fast developping and unity stru-|
	| cture. This framework use as a source of reference |
	| as CI framework. http://codeigniter.com            |
	| More than one framework is utillized in it and some|
	| opensource sofewares is integrated in it.          |
	|----------------------------------------------------|
	| Author : Boyu Sun                                  |
	| Email  : sunboyu@gmail.com                         |
	|----------------------------------------------------|
	| Why it is named 'CentPHP'?                         |
	| Sun : I like CentOS and PHP,so it's 'CentPHP'      |
	|====================================================|
*/
error_reporting(2047);
/*
    +----------------------------------------------------
	|  CentPHP
	|  Every file must be included in this file.
	+----------------------------------------------------
*/

define( 'CentPHP' , TRUE );

/*
    +----------------------------------------------------
	|  CentPHP
	|  Every file must be included in this file.
	+----------------------------------------------------
*/

define( 'CP_VERSION' , '0.1' );

/*
    +----------------------------------------------------
	|  BASEPATH
	|  The full-path of this framework.
	|  For using it easing,I suggested to put the 'Inde-
	|  x.php' file to the wwwroot dir.
	+----------------------------------------------------
*/

define('BASEPATH',pathinfo(__FILE__,PATHINFO_DIRNAME));

/*
    +----------------------------------------------------
	|  LIBPATH
	|  The full-path of the name of your 'lib/kernel' path.
	+----------------------------------------------------
*/

define('LIBPATH',BASEPATH."/lib/kernel");

/*
    +----------------------------------------------------
	|  ULIBPATH
	|  The full-path of the name of your 'lib/kernel' path.
	+----------------------------------------------------
*/

define('ULIBPATH',BASEPATH."/usr/lib");

/*
    +----------------------------------------------------
	|  CTPATH
	|  The full-path of the name of your 'usr/controllers' path.
	+----------------------------------------------------
*/

define('CTPATH',BASEPATH."/usr/controllers");

/*
    +----------------------------------------------------
	|  CONFIGPATH
	|  The full-path of the name of your 'lib/config' path.
	+----------------------------------------------------
*/

define('CONFIGPATH',BASEPATH."/usr/config");

/*
    +----------------------------------------------------
	|  EXT
	|  The file extension.
	+----------------------------------------------------
*/

define('EXT','.'.pathinfo(__FILE__,PATHINFO_EXTENSION));

/*
    +----------------------------------------------------
	|  WEBROOT
	|  The Frameworks path.
	+----------------------------------------------------
*/
define('WEBROOT','');

session_start();

require_once( LIBPATH.'/CentPHP'.EXT );
?>